package com.rf.richfitwheel.admin.sys.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hushouquan
 * @since 2023/12/25
 */
public class OrgHasParent extends Org implements Serializable{
    private OrgHasParent parent;
    
    public OrgHasParent(){
        super();
    }
    public OrgHasParent(String id, Integer version, String orgCode, String orgName, String shortName, String tenantId,
                        Integer orgLevel,String parentId, String orgStatus, String isParent, String orgType,
                        String orgRank, String orgGrade, Integer ordernum, String creater, Date createTime,
                        String modUser, Date modTime, String type, String basicType){
        super(id, version, orgCode, orgName, shortName, tenantId, orgLevel, parentId, orgStatus, isParent, orgType,
                orgRank, orgGrade, ordernum, creater, createTime, modUser, modTime, type, basicType);
    }
    public OrgHasParent(String id, Integer version, String orgCode, String orgName, String shortName, String tenantId,
                        Integer orgLevel,String parentId, String orgStatus, String isParent, String orgType,
                        String orgRank, String orgGrade, Integer ordernum, String creater, Date createTime,
                        String modUser, Date modTime, String type){
        super(id, version, orgCode, orgName, shortName, tenantId, orgLevel, parentId, orgStatus, isParent, orgType,
                orgRank, orgGrade, ordernum, creater, createTime, modUser, modTime, type);
    }

    public OrgHasParent(String id, Integer version, String orgCode, String orgName, String shortName, String tenantId,
                        Integer orgLevel,String parentId, String orgStatus, String isParent, String orgType,
                        String orgRank, String orgGrade, Integer ordernum, String creater, Date createTime,
                        String modUser, Date modTime, String type, String basicType, OrgHasParent parent){
        super(id, version, orgCode, orgName, shortName, tenantId, orgLevel, parentId, orgStatus, isParent, orgType,
                orgRank, orgGrade, ordernum, creater, createTime, modUser, modTime, type, basicType);
        this.parent = parent;
    }

    public OrgHasParent(String id, Integer version, String orgCode, String orgName, String shortName, String tenantId,
                        Integer orgLevel,String parentId, String orgStatus, String isParent, String orgType,
                        String orgRank, String orgGrade, Integer ordernum, String creater, Date createTime,
                        String modUser, Date modTime, String type, OrgHasParent parent){
        super(id, version, orgCode, orgName, shortName, tenantId, orgLevel, parentId, orgStatus, isParent, orgType,
                orgRank, orgGrade, ordernum, creater, createTime, modUser, modTime, type);
        this.parent = parent;
    }
    
    public OrgHasParent getParent(){
        return parent;
    }
    
    public void setParent(OrgHasParent parent){
        this.parent = parent;
    }
}
